﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020011DB RID: 4571
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SpringRecoverConfig : IMessage<SpringRecoverConfig>, IMessage, IEquatable<SpringRecoverConfig>, IDeepCloneable<SpringRecoverConfig>, IBufferMessage
	{
		// Token: 0x170039DC RID: 14812
		// (get) Token: 0x0600CCAE RID: 52398 RVA: 0x002276B7 File Offset: 0x002258B7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SpringRecoverConfig> Parser
		{
			get
			{
				return SpringRecoverConfig._parser;
			}
		}

		// Token: 0x170039DD RID: 14813
		// (get) Token: 0x0600CCAF RID: 52399 RVA: 0x002276BE File Offset: 0x002258BE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SpringRecoverConfigReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170039DE RID: 14814
		// (get) Token: 0x0600CCB0 RID: 52400 RVA: 0x002276D0 File Offset: 0x002258D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SpringRecoverConfig.Descriptor;
			}
		}

		// Token: 0x0600CCB1 RID: 52401 RVA: 0x002276D7 File Offset: 0x002258D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpringRecoverConfig()
		{
		}

		// Token: 0x0600CCB2 RID: 52402 RVA: 0x002276EC File Offset: 0x002258EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpringRecoverConfig(SpringRecoverConfig other) : this()
		{
			this.hAEADFJHBEN_ = other.hAEADFJHBEN_;
			this.mOEJBHKJHMI_ = other.mOEJBHKJHMI_.Clone();
			this.mEPKGPNBOBP_ = other.mEPKGPNBOBP_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CCB3 RID: 52403 RVA: 0x00227739 File Offset: 0x00225939
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpringRecoverConfig Clone()
		{
			return new SpringRecoverConfig(this);
		}

		// Token: 0x170039DF RID: 14815
		// (get) Token: 0x0600CCB4 RID: 52404 RVA: 0x00227741 File Offset: 0x00225941
		// (set) Token: 0x0600CCB5 RID: 52405 RVA: 0x00227749 File Offset: 0x00225949
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HAEADFJHBEN
		{
			get
			{
				return this.hAEADFJHBEN_;
			}
			set
			{
				this.hAEADFJHBEN_ = value;
			}
		}

		// Token: 0x170039E0 RID: 14816
		// (get) Token: 0x0600CCB6 RID: 52406 RVA: 0x00227752 File Offset: 0x00225952
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<AvatarPresetHp> MOEJBHKJHMI
		{
			get
			{
				return this.mOEJBHKJHMI_;
			}
		}

		// Token: 0x170039E1 RID: 14817
		// (get) Token: 0x0600CCB7 RID: 52407 RVA: 0x0022775A File Offset: 0x0022595A
		// (set) Token: 0x0600CCB8 RID: 52408 RVA: 0x00227762 File Offset: 0x00225962
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool MEPKGPNBOBP
		{
			get
			{
				return this.mEPKGPNBOBP_;
			}
			set
			{
				this.mEPKGPNBOBP_ = value;
			}
		}

		// Token: 0x0600CCB9 RID: 52409 RVA: 0x0022776B File Offset: 0x0022596B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SpringRecoverConfig);
		}

		// Token: 0x0600CCBA RID: 52410 RVA: 0x0022777C File Offset: 0x0022597C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SpringRecoverConfig other)
		{
			return other != null && (other == this || (this.HAEADFJHBEN == other.HAEADFJHBEN && this.mOEJBHKJHMI_.Equals(other.mOEJBHKJHMI_) && this.MEPKGPNBOBP == other.MEPKGPNBOBP && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600CCBB RID: 52411 RVA: 0x002277DC File Offset: 0x002259DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.HAEADFJHBEN != 0U)
			{
				num ^= this.HAEADFJHBEN.GetHashCode();
			}
			num ^= this.mOEJBHKJHMI_.GetHashCode();
			if (this.MEPKGPNBOBP)
			{
				num ^= this.MEPKGPNBOBP.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600CCBC RID: 52412 RVA: 0x00227842 File Offset: 0x00225A42
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600CCBD RID: 52413 RVA: 0x0022784A File Offset: 0x00225A4A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600CCBE RID: 52414 RVA: 0x00227854 File Offset: 0x00225A54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MEPKGPNBOBP)
			{
				output.WriteRawTag(8);
				output.WriteBool(this.MEPKGPNBOBP);
			}
			this.mOEJBHKJHMI_.WriteTo(ref output, SpringRecoverConfig._repeated_mOEJBHKJHMI_codec);
			if (this.HAEADFJHBEN != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.HAEADFJHBEN);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600CCBF RID: 52415 RVA: 0x002278C0 File Offset: 0x00225AC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.HAEADFJHBEN != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HAEADFJHBEN);
			}
			num += this.mOEJBHKJHMI_.CalculateSize(SpringRecoverConfig._repeated_mOEJBHKJHMI_codec);
			if (this.MEPKGPNBOBP)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600CCC0 RID: 52416 RVA: 0x00227920 File Offset: 0x00225B20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SpringRecoverConfig other)
		{
			if (other == null)
			{
				return;
			}
			if (other.HAEADFJHBEN != 0U)
			{
				this.HAEADFJHBEN = other.HAEADFJHBEN;
			}
			this.mOEJBHKJHMI_.Add(other.mOEJBHKJHMI_);
			if (other.MEPKGPNBOBP)
			{
				this.MEPKGPNBOBP = other.MEPKGPNBOBP;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600CCC1 RID: 52417 RVA: 0x00227981 File Offset: 0x00225B81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600CCC2 RID: 52418 RVA: 0x0022798C File Offset: 0x00225B8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 42U)
					{
						if (num != 96U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.HAEADFJHBEN = input.ReadUInt32();
						}
					}
					else
					{
						this.mOEJBHKJHMI_.AddEntriesFrom(ref input, SpringRecoverConfig._repeated_mOEJBHKJHMI_codec);
					}
				}
				else
				{
					this.MEPKGPNBOBP = input.ReadBool();
				}
			}
		}

		// Token: 0x04005222 RID: 21026
		private static readonly MessageParser<SpringRecoverConfig> _parser = new MessageParser<SpringRecoverConfig>(() => new SpringRecoverConfig());

		// Token: 0x04005223 RID: 21027
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005224 RID: 21028
		public const int HAEADFJHBENFieldNumber = 12;

		// Token: 0x04005225 RID: 21029
		private uint hAEADFJHBEN_;

		// Token: 0x04005226 RID: 21030
		public const int MOEJBHKJHMIFieldNumber = 5;

		// Token: 0x04005227 RID: 21031
		private static readonly FieldCodec<AvatarPresetHp> _repeated_mOEJBHKJHMI_codec = FieldCodec.ForMessage<AvatarPresetHp>(42U, AvatarPresetHp.Parser);

		// Token: 0x04005228 RID: 21032
		private readonly RepeatedField<AvatarPresetHp> mOEJBHKJHMI_ = new RepeatedField<AvatarPresetHp>();

		// Token: 0x04005229 RID: 21033
		public const int MEPKGPNBOBPFieldNumber = 1;

		// Token: 0x0400522A RID: 21034
		private bool mEPKGPNBOBP_;
	}
}
